package com.cwj.mansysback.service.api;

import com.cwj.mansysback.entity.Elective;
import com.cwj.mansysback.entity.Pack;

import java.util.List;

public interface ElectiveService {

    boolean insertElective(String cid,String sid,double cscore);

    boolean updateEletive(String cid,String sid,double cscore);

    boolean deleteElective(String cid,String sid);

    Elective selectElective(String cid, String sid);

    List<Elective> selectCidElective(String cid, int start, int len);

    List<Elective> selectSidElective(String sid,int start,int len);

    List<Elective> selectElective(int start,int len);

    Pack selectPackBySid(String sid);

    Pack selectPackByCid(String cid);

    Pack selectPack();

}
